<script type="text/javascript">
            jQuery(document).ready(function(){
                // binds form submission and fields to the validation engine
                jQuery("#MaquinariaInsertarForm").validationEngine();
            });
        </script>
<div class="widget grid12">
    <div class="whead"><h6>FORMULARIO DE EDICION DE LA MAQUINARIA </h6><div class="clear"></div></div>
    <?php echo $this->Form->create('Maquinaria', array('id' => "validate")); ?>
        <div class="formRow">
    <div class="formRow">
        <div class="grid3"><label>Inserte Numero de maquinaria:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->text('numero_maquina', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate'));?>
        </div>

        <div class="grid3"><label>Nombre de la maquinaria:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->text('nombre', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate2'));?>
        </div>
        <div class="clear"></div>
    </div>
    
    <div class="formRow">
        <div class="grid3"><label>Detalle :<span class="req">*</span></label></div>
        <div class="grid3" >
            <td><?php echo $this->Form->textarea('descripcion', array('class'=>'input-text', 'cols'=>'70', 'rows'=>'3' ,'id'=>'validate3'));?></td>
        </div>

        <div class="grid3"><label>Estado :<span class="req">*</span></label></div>
        <div class="grid3">
            <?php $options=array('0'=>' Inactivo ','1'=>' Activo '); $attributes=array('legend'=>false);
					  echo $this->Form->radio('estado',$options,$attributes);?>
        </div>

        
    </div>              
        </div>
</div>
<div class="actions-right">
<?php $options = array('label' => 'Editar Datos','class' => 'buttonS bGreen','id' => 'btEnvia');echo $this->Form->end($options);?> 
        <p></p>
        <?php echo $this->Html->link("Volver &raquo;", array('controller'=>'Maquinarias', 'action'=>'index'), array('class'=>'buttonS bLightBlue', 'escape' => FALSE)); ?>
</div>


